package com.baitengsoft.patentapimonitor.api.service;

import com.baitengsoft.patentapimonitor.api.entity.FileMonitorReportEntity;
import com.baitengsoft.patentapimonitor.common.utils.Res;

import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author Chen 2018/2/5
 */
public interface FileMonitorReportService {
    List<FileMonitorReportEntity> queryList(Integer platformid, String reportName);

    FileMonitorReportEntity selectByDate(Integer platformid,String today);

    void createFile(Integer platformid);

    FileMonitorReportEntity selectByFileurl(Integer platformid, String fileurl);

    Res exportReportFile(Integer platformid,FileMonitorReportEntity entity, HttpServletResponse response);
}
